<!DOCTYPE html>
<html>
    <head>
        <title>
        </title>
    </head>
    <body>
        <table border="1" cellspacing="0" width="400">
            <tr>
                <th>
                    球队一
                </th>
                <th>
                    比分
                </th>
                <th>
                    球队二
                </th>
            </tr>
            {foreach from=$res item=v}
            <tr>
                <td>
                    <a href="index.php?m=home&c=Team&a=team&id={$v['teamone']}">
                        {$v["team1"]}
                    </a>
                </td>
                <td>
                    {$v['score']}
                </td>
                <td>
                    <a href="index.php?m=home&c=Team&a=team&id={$v['teamtwo']}">
                        {$v["team2"]}
                    </a>
                </td>
            </tr>
            {/foreach}
        </table>
    </body>
</html>